package xyz.zhouzhaodong.crm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import xyz.zhouzhaodong.crm.dto.NotificationDto;
import xyz.zhouzhaodong.crm.entity.Notification;

/**
 * <p>
 * 通知书202 Mapper 接口
 * </p>
 *
 * @author zhouzhaodong
 * @since 2020-06-27
 */
public interface NotificationMapper extends BaseMapper<Notification> {

    /**
     * 分页查询通知书202
     * @param page
     * @param notificationDto
     * @return
     */
    IPage<NotificationDto> selectListPage(Page<NotificationDto> page,
                                                @Param("notificationDto") NotificationDto notificationDto);
}
